package besteAukera;

import java.awt.Component;
import java.awt.HeadlessException;

import javax.swing.JDialog;
import javax.swing.JFileChooser;

class MyFileChooser extends JFileChooser {
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	protected JDialog createDialog(Component parent) throws HeadlessException {
        JDialog dialog = super.createDialog(parent);
        dialog.setLocationRelativeTo(null);
        dialog.setResizable(false);
        return dialog;
    }
}
